package com.ruoyi.system.domain;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 package_info
 * 
 * @author ruoyi
 * @date 2025-02-20
 */
@Data
@ApiModel(description="【package_info对象 ")
public class PackageInfo
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "主键")
    private Long id;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    @ApiModelProperty(value = "package_name")
    private String packageName;

    /** 包装皮重 */
    @Excel(name = "包装皮重")
    @ApiModelProperty(value = "包装皮重")
    private BigDecimal packageWght;

    /** 是否可用 */
    @Excel(name = "是否可用")
    @ApiModelProperty(value = "是否可用")
    private Long isEnable;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPackageName(String packageName) 
    {
        this.packageName = packageName;
    }

    public String getPackageName() 
    {
        return packageName;
    }
    public void setPackageWght(BigDecimal packageWght) 
    {
        this.packageWght = packageWght;
    }

    public BigDecimal getPackageWght() 
    {
        return packageWght;
    }
    public void setIsEnable(Long isEnable) 
    {
        this.isEnable = isEnable;
    }

    public Long getIsEnable() 
    {
        return isEnable;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("packageName", getPackageName())
            .append("packageWght", getPackageWght())
            .append("isEnable", getIsEnable())
            .toString();
    }
}
